package com.echo.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.io.Serializable;

/**
 * <p>
 * 题目的选项
 * </p>
 *
 * @author echo
 * @since 2024-10-31
 */
@Data
@TableName("question_option")
public class QuestionOption implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 题目选项表的主键
     */
    @TableId(value = "question_option_id", type = IdType.AUTO)
    private String questionOptionId;

    /**
     * 选项的内容
     */
    private String questionOptionContent;

    /**
     * 选项的额外描述，可以用于题目答案解析
     */
    private String questionOptionDescription;



    @Override
    public String toString() {
        return "QuestionOption{" +
            "questionOptionId=" + questionOptionId +
            ", questionOptionContent=" + questionOptionContent +
            ", questionOptionDescription=" + questionOptionDescription +
        "}";
    }
}
